import Layout from "@/layout"
export default [
  {
    path: "/",
    component: Layout,
    redirect: "/index",
    children: [
      {
        path: "/index",
        meta: {
          title: "首页"
        },
        component: () =>
          import(/* webpackChunkName: "publicModule" */ "@/views/home.vue")
      }
    ]
  },
  {
    path: "/login",
    component: Layout,
    redirect: "/login",
    children: [
      {
        path: "/login",
        meta: {
          title: "登陆页"
        },
        component: () =>
          import(/* webpackChunkName: "publicModule" */ "@/views/login-module/index.vue")
      }
    ]
  },
]